package com.cl.pojo;


import java.util.Date;

public class UserInfo {
    private int uid;
    private String name;
    private int sex;
    private String email;
    private long phone;
    private String university;
    private int quit;
    private int departmentId;
    private int postId;
    private Date entrytime;

    public UserInfo() {
    }

    public UserInfo(int uid, String name, int sex, String email, long phone, String university, int quit, int departmentId, int postId) {
        this.uid = uid;
        this.name = name;
        this.sex = sex;
        this.email = email;
        this.phone = phone;
        this.university = university;
        this.quit = quit;
        this.departmentId = departmentId;
        this.postId = postId;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public long getPhone() {
        return phone;
    }

    public void setPhone(long phone) {
        this.phone = phone;
    }

    public String getUniversity() {
        return university;
    }

    public void setUniversity(String university) {
        this.university = university;
    }

    public int getQuit() {
        return quit;
    }

    public void setQuit(int quit) {
        this.quit = quit;
    }

    public int getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(int departmentId) {
        this.departmentId = departmentId;
    }

    public int getPostId() {
        return postId;
    }

    public void setPostId(int postId) {
        this.postId = postId;
    }

    public Date getEntrytime() {
        return entrytime;
    }

    public void setEntrytime(Date entrytime) {
        this.entrytime = entrytime;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "uid=" + uid +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", email='" + email + '\'' +
                ", phone=" + phone +
                ", university='" + university + '\'' +
                ", quit=" + quit +
                ", departmentId=" + departmentId +
                ", postId=" + postId +
                ", entrytime=" + entrytime +
                '}';
    }
}
